import uuid
import time


def getUUId():
    uuidStr = str(uuid.uuid1())
    uuidArr = uuidStr.split("-")
    result = ""
    for i in uuidArr:
        result += i
    return result


def getTime():
    # 获得当前时间时间戳
    # 转换为其他日期格式,如:"%Y-%m-%d %H:%M:%S"
    timeArray = time.localtime(now())
    otherStyleTime = time.strftime("%H", timeArray)
    print("======现在时间是："+otherStyleTime)


def forTest():
    for num in range(1, 10):
        for mm in range(11, 20):
            if mm == 12:
                print('当前的num是'+str(num)+"  当前的mm是"+str(mm))
                flag = True
                break
        if flag == True:
            break


if __name__ == '__main__':
    print("main函数方法")
    # print("UUID最后的结果是："+getUUId())
    # getTime()
    count = 35390
    pageCount = count // 50 + 1
    print(pageCount)
